package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.OrderSettlement;

/**
 * 结算单Mapper接口
 * 
 * @author ruoyi
 * @date 2025-05-06
 */
public interface OrderSettlementMapper 
{
    /**
     * 查询结算单
     * 
     * @param settlementId 结算单主键
     * @return 结算单
     */
    public OrderSettlement selectOrderSettlementBySettlementId(Long settlementId);

    /**
     * 查询结算单列表
     * 
     * @param orderSettlement 结算单
     * @return 结算单集合
     */
    public List<OrderSettlement> selectOrderSettlementList(OrderSettlement orderSettlement);

    /**
     * 新增结算单
     * 
     * @param orderSettlement 结算单
     * @return 结果
     */
    public int insertOrderSettlement(OrderSettlement orderSettlement);

    /**
     * 修改结算单
     * 
     * @param orderSettlement 结算单
     * @return 结果
     */
    public int updateOrderSettlement(OrderSettlement orderSettlement);

    /**
     * 删除结算单
     * 
     * @param settlementId 结算单主键
     * @return 结果
     */
    public int deleteOrderSettlementBySettlementId(Long settlementId);

    /**
     * 批量删除结算单
     * 
     * @param settlementIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOrderSettlementBySettlementIds(Long[] settlementIds);
}
